package com.pp.manage.service;

import com.pp.manage.pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author yangfan
 * @date 2020/7/14 12:08
 * @description
 */

public interface IUserService {

    boolean insertUser(User user);

    boolean deleteUserTemporary(Integer userId);

    boolean deleteUser(Integer userId);

    boolean updateUser(User user);

    User findUserById(Integer userId);

    List<User> findAllUser();
}
